package com.qcby.dao;

import com.qcby.model.MovieActorRelation;
import com.qcby.model.dto.MovieARVo;
import com.qcby.query.MovieActorRelationQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MovieActorRelationMapper extends BaseDao<MovieActorRelationQuery, MovieActorRelation> {
    public List<MovieARVo> findMoveRole(Integer aid);

    public List<MovieARVo> findActorRole(Integer mid);

    public void deleteByAid(Integer aid);

    Integer deleteByAidAndMid(@Param("aid") Integer aid, @Param("mid") Integer mid);
}
